<?xml version="1.0" encoding="utf-8" ?> 
<Feature id="UI" name="Base UI framework configuration">
	<ConfigurationClasses>
		<Class name="sysObjs-Crypto" type="Swaf.Crypto.CryptoManager,SwafCore" />
	</ConfigurationClasses>
	
	<Macro name="KeyContainerName">SwafKeyContainer</Macro>
	<!--****************************************************************
	THIS MACRO IS INCLUDED HERE FOR EXAMPLE PURPOSES ONLY
	IT SHOULD BE INCLUDED IN YOUR APPLICATIONS CONFIGURATION IN ORDER TO 
	USE THE RANDOM KEY GENERATION
	********************************************************************
	<Macro name="UseRandomKeys">true</Macro>
	*****************************************************************-->
	
	<Cryptography defaultKey="">
		<KeyMaster>Swaf.Crypto.SimpleFileKeyMaster,SwafCore</KeyMaster>
	</Cryptography>
	
	<ClassFactory id="GeneralContainerNodes">
		<Class type="Swaf.Crypto.FullEncryptedContainerNode, Swaf.Cryptography">
			<Pattern>encrypt{ws}with{ws}key{ws}({1+ {anychar}})</Pattern>
		</Class>
	</ClassFactory>	
	
	<ClassFactory id="BizObjFieldDecorators">
    <Class name="encrypt" type="Swaf.Crypto.CryptoBizObjDecorator,SwafCore" />
	</ClassFactory>
	
	<ClassFactory id="BizRuleDecorators">
		<Class name="encrypt" type="Swaf.GenericDecorator,SwafCore" />
	</ClassFactory>

	<ClassFactory id="MacroFunctions">
		<Class name="Encrypt" type="Swaf.Crypto.CryptoMacroFunction,SwafCore" />
		<Class name="Decrypt" type="Swaf.Crypto.CryptoMacroFunction,SwafCore" />
	</ClassFactory>
		
	<ClassFactory id="CryptoHandlers">
		<Class name="DES" type="Swaf.Crypto.DESCryptoHandler,SwafCore" />
		<Class name="TripleDES" type="Swaf.Crypto.TripleDESCryptoHandler,SwafCore" />
		<Class name="Rijndael" type="Swaf.Crypto.RijndaelCryptoHandler,SwafCore" />
		<Class name="RC2" type="Swaf.Crypto.RC2CryptoHandler,SwafCore" />
	</ClassFactory>	
</Feature>